﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    enum menus { 
    虎皮鸡爪,
    泡椒鸡爪,
    佛跳墙,
    白开水  
    }
    class CookRobot:Robot
    {
        public menus foodtype { get; set; }
        public override void Working()
        {
           // this.foodtype = foodtype;

            Console.WriteLine("名字：{0}  类型：{1}  菜品类型：{2}", this.name, robottype.CookRobot, this.foodtype);
        }

        public CookRobot()
        {
        }

        public CookRobot(string name,menus foodtype):base(name) 
        
       {
            this.foodtype = foodtype;
        }
    }
}
